<template>
  <div id="title">
    <ul id="title-ul">
      <li><img src="../../../assets/cent/1个人中心/左上角邮箱.png" alt=""></li>
      <li>个人中心</li>
      <li><img src="../../../assets/cent/1个人中心/右上角消息.png" alt=""></li>
      <li><img src="../../../assets/cent/1个人中心/右上角设置.png" alt=""></li>
    </ul>
  </div>
</template>
<script>
  export default {

  }
</script>
<style scoped>
  #title{
    width: 100%;
    height: 4.8rem;
    background-color: #e53e42;
    color: white;
    position: relative;
  }
  #title-ul li{
    display: inline-block;
    font-size: 1.8rem;
  }
  #title-ul {
    width:calc(100% - 2rem);
    height: 2rem;
    /*margin: 0 auto;*/
    position: absolute;
    top:1.5rem;
    left: 1rem;
    right: 1rem;
  }
  #title-ul li:nth-child(1) img{
    width:1.8rem;
    height: 1.8rem;
    position: absolute;
    top:0;
    left: 0;
  }
  #title-ul li:nth-child(2){
    width:17rem;
    text-align: center;
    position: absolute;
    top:0;
    left:calc(50% - 8.5rem);
  }
  #title-ul li:nth-child(3) img{
    width:1.8rem;
    height: 1.8rem;
    position: absolute;
    top:0;
    right: 3rem;
  }
  #title-ul li:nth-child(4) img{
    width:1.8rem;
    height: 1.8rem;
    position: absolute;
    top:0;
    right: 0;
  }
</style>
